projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bab07b
)
* lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 13 Apr 2015 18:46:58 +0000
(14:46 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 13 Apr 2015 18:46:58 +0000
(14:46 -0400)
lisp/emacs-lisp/pcase.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/pcase.el
b/lisp/emacs-lisp/pcase.el
index 49603036ead85948d1f0de1ee49a4694886e8a85..978c3f0dd303d9adac3aff90161ca1c60e14951b 100644
(file)
--- a/
lisp/emacs-lisp/pcase.el
+++ b/
lisp/emacs-lisp/pcase.el
@@
-263,6
+263,7
@@
of the form (UPAT EXP)."
(push (list (car binding) tmpvar) matches)))))
`(let ,(nreverse bindings) (pcase-let* ,matches ,@body)))))
+;;;###autoload
(defmacro pcase-dolist (spec &rest body)
(declare (indent 1) (debug ((pcase-UPAT form) body)))
(if (pcase--trivial-upat-p (car spec))